package com.mapper;

import com.pojo.Employee;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
@Mapper
@Repository
public interface UserMapper {
    public List<Employee> queryAll();
    public Employee queryById(int id);
    public void addUser(Employee user);
    public void updataUser(Employee user);
    public void delUser(int id);
}
